<!DOCTYPE html>
<html>
<head>
    <th:block th:include="include :: headermain('互助保障系统')"/>
    <title>单位资料-互助保障系统</title>
    <script type="text/javascript">if (!!window.ActiveXObject || "ActiveXObject" in window) location.href = '/Unit/Browser';</script>



</head>
<body>

<div class="page">

    <th:block th:include="include :: top"/>


    <div class="center">
        <div class="page-content page-wrap">
            <th:block th:include="include :: left"/>
            <div class="page-wrap-container">

                <div class="page-information-notice">
                    <h2>${hzHelpNotice.typeName}</h2>
                    <c:forEach items="${page.list}" var="notice">
                        <a class="helpNoticeDetail" href="/hzhelp/notice/hzHelpNotice/detail?id=${notice.id}">${notice.title}</a>
                    </c:forEach>
                    <div class="page-pagination">
                        <!--    当前页之前 -->
                        <span>共${page.count}条记录 ${page.pageNo}/${page.last}</span>
                        <c:choose>
                            <c:when test="${page.pageNo == 1}">
                                <span>首页</span>
                                <span>上一页</span>
                            </c:when>
                            <c:otherwise>
                                <a href='/hzhelp/notice/hzHelpNotice/list?types=1&pageNo=1&pageSize=10'>  首页</a>
                                <a href='/hzhelp/notice/hzHelpNotice/list?types=1&pageNo=${page.pageNo-1}&pageSize=10'>上一页</a>
                                <c:choose>
                                    <c:when test="${(page.pageNo - 5) > 0}">
                                        <c:forEach step="1" begin="${page.pageNo-5}" end="${page.pageNo-1}" varStatus="status">
                                            <a href='/hzhelp/notice/hzHelpNotice/list?types=1&pageNo=${begin+status.index}&pageSize=10'>${begin+status.index}</a>
                                        </c:forEach>
                                    </c:when>
                                    <c:otherwise>
                                        <c:forEach step="1" begin="1" end="${page.pageNo-1}" varStatus="status">
                                            <a href='/hzhelp/notice/hzHelpNotice/list?types=1&pageNo=${begin+status.index}&pageSize=10'>${begin+status.index}</a>
                                        </c:forEach>
                                    </c:otherwise>
                                </c:choose>

                            </c:otherwise>
                        </c:choose>
                        <!--      当前页 -->
                        <span>${page.pageNo}</span>
                        <!--  当前页之后 -->
                        <c:choose>
                            <c:when test="${page.pageNo == page.last}">
                                <span>下一页</span>
                                <span>尾页</span>
                            </c:when>
                            <c:otherwise>
                                <a href='/hzhelp/notice/hzHelpNotice/list?types=1&pageNo=${page.pageNo + 1}&pageSize=10'>${page.pageNo + 1}</a>
                                <a href='/hzhelp/notice/hzHelpNotice/list?types=1&pageNo=${page.pageNo + 1}&pageSize=10'>  下一页</a>
                                <a href='/hzhelp/notice/hzHelpNotice/list?types=1&pageNo=${page.last}&pageSize=10'>尾页</a>
                            </c:otherwise>
                        </c:choose>

                    </div>
                </div>


            </div>
        </div>
    </div>


    <th:block th:include="include :: footer"/>

</div>




<script src="/footerjs.js"></script>

<script type="text/javascript">



</script>


</body>
</html>
